how to subtract three digits